package com.neutech.service;

import com.mybatisflex.core.service.IService;
import com.neutech.entity.HomeWorkCommit;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * 作业提交表 服务层。
 *
 * @author Administrator
 * @since 2025-06-19
 */
public interface HomeWorkCommitService extends IService<HomeWorkCommit> {
    boolean add(MultipartFile file, HomeWorkCommit homeWorkCommit) throws Exception;
    List<HomeWorkCommit> list(Integer homeWorkId);
    boolean read(Integer id) throws IOException;
}
